
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>

<!--{css(mem.css)}-->
<!--{css(global.css)}-->

</head>
<body>

<!--{inc (head_index.view.html)}--> 



    <div class="crumb">

         <a class="hp" href="{$site_url}/">首页</a>&gt;&nbsp;管理中心
    </div>
    <div class="wrap pointad">
		<div class="col_mem_b">
			<div class="memnote1 mb20">
				<div class="con">
					<p>您有1个收藏的商品。</p>

					<p>如果您想购买收藏的商品，请点击商品名后的“立即购买”按钮即可。</p>
					<p>关于收藏：遇到感兴趣的商品时，如果还没决定立即购买，您可以先把它放入收藏，以方便下次的查找与购买。</p>
				</div>
			</div>
   
				<table class="infobox order">
				<caption >
                <span style="float:left;">
					我的订单列表
                </span>
                <span style="float:right; padding-right:20px;">
              <a href="?app=user&act=order">全部</a>&nbsp;&nbsp;<a href="?app=user&act=order&type=payed">已付款</a>&nbsp;&nbsp;<a href="?app=user&act=order&type=nopay">未付款</a>     
                </span>                
 
                
				</caption>

				<tbody>
					<tr>
						<th  style="width:75px;">&nbsp;</th>
						<th  style="width:250px;">团购项目 </th>                        
						<th style="width:50px;">数量</th>
						<th style="width:50px;">总价</th>
                        <th style="width:50px;">订单状态</th>
                        <th style="width:50px;">操作</th>

					</tr>
<!--{if (empty($lw_data))}-->
<tr><td colspan="6">您暂时还没有订单，您可以去团购您喜欢的商品，这样就会有订单显示出来！</td></tr>
<!--{/if}-->
<!--{foreach($lw_data as $_key => $_value )}-->	

<?php
if(!isset($_value.time)){$_value.time=0;}

?>				
							<tr>
								<td><a href='' target="_blank"><img style=" width:50px; height:65px;" src="{$_value.img|picdir}" border="0" /></a></td>
								<td style="text-align:left"><span style="color:red;">订单编号：{$_value.orderid}<br/>订单日期：{$_value.buytime|dateymd}</span><br/><span style=" font-weight:bold">商品名：{$_value.name}</span><br/>团购名：{$_value.groupname}</td>
                                <td >{$_value.productnum}</td>
								<td>&yen; {$_value.price}元</td>
								<td>
<!--{if ($_value.pay==1 && $_value.status==1) }--><img src="{$site_url}/data/images/sue.gif"style="width:16px; height:16px;"  />已付款<!--{else}--><img src="{$site_url}/data/images/no2.gif"style="width:16px; height:16px;"  />
<!--{if ($_value.status==0)}-->已取消<!--{elseif ($_value.status==2)}-->已过期<!--{elseif ($_value.status==3)}-->失败<!--{else}-->未付款<!--{/if}-->
<!--{/if}-->                                
                                </td>
								<td>
<!--{if ($_value.pay==1)}-->-----<!--{elseif ($_value.status==0 || $_value.status==2)}-->-----<!--{else}--><a href="?app=buy&act=pay&oid={$_value.orderid}" rel="external">付款</a> <a href="?app=user&act=cancel&oid={$_value.orderid}">取消</a><!--{/if}-->
								</td>           
            				</tr>
 <!--{/foreach}-->						
                        
				</tbody>
			</table>
			<div class="page">

{$lw_page.total}条记录 
共{$lw_page.curr.num}/{$lw_page.totalpage}页
<a href="{$lw_page.head}">首页</a>
<a href="{$lw_page.up}">&lt;&lt;</a>
<a href="{$lw_page.up}">上一页</a>
 <a href="{$lw_page.curr.url}" class="currentPage">{$lw_page.curr.num}</a> 
 <a href="{$lw_page.down}">下一页</a>
<a href="{$lw_page.down}">&gt;&gt;</a>
<a href="{$lw_page.foot}">末页</a>

            </div>
		</div>
        
              
        
        <div class="col_mem_a">
            

<!--{inc (user/user_menu.view.html)}--> 


        </div>
    </div>


<!--{inc (footer_index.view.html)}-->



</body>
</html>